From Bidirectional Model Transformation to Model Synchronization
نویسندگان
چکیده
In model-driven engineering, it is common that there are several related models co-existing. When one model is updated or several models are updated at the same time, we need to propagate the updates across all models to make them consistent. This process is called synchronization. Bidirectional model transformation partially supports the synchronization of two models by updating one model according to the other models. However, it does not work when the two models are modified at the same time. In this work we propose a new algorithm that wraps any bidirectional transformation into a synchronizer, and this synchronizer allows simultaneous updates on the two models. We propose a general algebraic framework for model synchronization, and prove that our algorithm can ensure the synchronization properties if the bidirectional transformation satisfies the correctness property and the hippocraticness property [7].
منابع مشابه
GRACE TECHNICAL REPORTS AO Software Behavior Model Evolution and Synchronization: A Bidirectional Graph Transformation Approach
The application of AO techniques in model driven software development still faces strong challenges. Two challenges we focus on in this report are AO model evolution and synchronization. In this report, we adopt a BiG (Bidirectional Graph Transformation) approach to AO model evolution and synchronization. The essential idea of our approach to AO model evolution and synchronization is that we ch...
متن کاملLenses for View Synchronization in Metamodel-Based Multi-View Modeling
When using multiple views to describe a system, the underlying models of these views have to be kept consistent, which is called model synchronization. Manually implemented model synchronizations that are not simple bijections are hard to maintain and to reason about. Special languages for expressing bidirectional transformations can help in this respect, but existing languages applicable in mo...
متن کاملAlgebra of bidirectional model synchronization ? Technical Report CSRG - 573
The paper presents several algebraic models for semantics of bidirectional model synchronization and transformation. Different types of model synchronization are analyzed (view updates, selective and incremental synchronization), and this analysis motivates the formal definitions. Particularly, a new formal model of updates is proposed. Relationships between the formal models are precisely spec...
متن کاملGRACE TECHNICAL REPORTS An Algebraic Approach to Bidirectional Model Transformation
Bidirectional model transformation plays an important role in maintaining consistency between two models, and has many potential applications in software development, including model synchronization, round-trip engineering, software evolution, multiple-view software development, and reverse engineering. However, unclear bidirectional semantics, weak bidirectionalization method, and lack of syst...
متن کاملUnderstanding bidirectional transformations with TGGs and JTL
In Model-Driven Engineering bidirectional model transformations emerged as an important ingredient to cope with scenarios such as change propagation, synchronization and to keep consistent system views whenever changes occurring on some view have to be propagated over the others. However, bidirectional mappings open a number of intricate issues that have been only partially solved by research. ...
متن کامل